<?php
/***
 * @author ljx
 * 
 * 
 */

define("START_TIME", time(true));
error_reporting(E_ALL & ~E_NOTICE);



define("D_S", DIRECTORY_SEPARATOR);
define("P_S", PATH_SEPARATOR);

define("BASE_PATH", dirname(__FILE__).D_S);





/***
 * @
 * @author ljx
 * 
 */
function print_array($item)
{
echo '<pre>';
print_r($item);
echo '</pre>';	
}




function __autoload($class_name)
{
static $_autoload_lib=array();

if(isset($_autoload_lib[$class_name])) return;
	
$file=BASE_PATH.'lib'.D_S.'class_'.$class_name.'.php';



if(is_file($file)) {
	//echo $file;	
	require $file;
	$_autoload_lib[$class_name]=$class_name;
}else {
	die('Not Found Class:'.$class_name);
}
}






